﻿
@{
    ViewData["Title"] = "FinishedProductAdd";
    Layout = "~/Views/Home/Main.cshtml";
}

<h1>仓库管理/成品管理/成品添加</h1>

<form class="layui-form" action="">
    <div class="layui-form-item ">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">成品编号</label>
            <div class="layui-input-block">
                <input type="text" id="finishedProductNo" name="finishedProductNo" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">成品名称</label>
            <div class="layui-input-block">
                <input type="text" id="finishedProductName" name="finishedProductName" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">规格型号</label>
            <div class="layui-input-block">
                <input type="text" id="finishedProductSpecification" name="finishedProductSpecification" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">单位</label>
            <div class="layui-input-block">
                <select id="finishedProductUnit" name="finishedProductUnit" lay-verify="required" lay-filter="aihao">
                    <option value="" selected></option>
                    <option value="个">个</option>
                    <option value="箱">箱</option>
                    <option value="件">件</option>
                    <option value="台">台</option>
                    <option value="套">套</option>
                </select>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">库存上限</label>
            <div class="layui-input-block">
                <input type="text" id="inventoryLimit" name="inventoryLimit" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">报警天数</label>
            <div class="layui-input-block">
                <input type="text" id="alarmDays" name="alarmDays" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">批次号</label>
            <div class="layui-input-block">
                <input type="text" id="finishedProductBatch" name="finishedProductBatch" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">库存下限</label>
            <div class="layui-input-block">
                <input type="text" id="inventoryMinimum" name="inventoryMinimum" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="radio" name="finishedProductState" id="normal" value="true" title="启用" checked>
                <input type="radio" name="finishedProductState" id="abnormal" value="false" title="禁用">
            </div>
        </div>
        <div class="layui-inline layui-col-xs5">
            <label class="layui-form-label">备注</label>
            <div class="layui-input-block">
                <input type="text" id="finishedProductRemark" name="finishedProductRemark" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
            </div>
        </div>
    </div>

    <div class="layui-inline layui-col-xs5">
        <label class="layui-form-label">图片</label>
        <div class="layui-input-block">
            <input type="text" id="finishedProductImg" name="finishedProductImg" lay-verify="required" placeholder="请输入" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button type="reset" class="layui-btn layui-btn-primary" onclick="location.href='/Warehouse/FinishedProductShow'">取消</button>
            <button type="submit" class="layui-btn" lay-submit lay-filter="formDemo">添加</button>
        </div>
    </div>
</form>
<script src="~/js/warehouse/finishedproduct/finishedproductadd.js"></script>